Stella981 Stella981
3年前
Scala 谜题
在Scala中,List\String\和List\Int\之间并没有继承关系,但是下面的代码竟然可以通过编译并且顺利运行:objectTestextendsApp{valstrList:List\String\List("a","b","c")valstrToIntList:List\Int
Wesley13 Wesley13
3年前
C++经典机试题目
1\.表达式求值中缀转后缀include<iostreaminclude<stackusingnamespacestd;intPriority(charoper){switch(oper){case'(':return
Wesley13 Wesley13
3年前
PHP 常用函数(三)
<?php/年份数字转中文@paraminteger$year年份数字@paramboolean$flag是否显示公元@returnstring/fu
Stella981 Stella981
3年前
Blob分析
文章转自微信公众号:机器视觉那些事\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\公众号:机器视觉那些事儿\\\\\\
Wesley13 Wesley13
3年前
Java日期时间API系列13
  从前面的系列博客中可以看出Jdk8中java.time包中的新的日期时间API类设计的很好,但Date由于使用仍非常广泛,这就涉及到Date转LocalDateTime,LocalDateTime转Date。下面是时间类互相转换大全,包含Instant、LocalDate、LocalDateTime、LocalTime、ZonedDateTime和Dat
Stella981 Stella981
3年前
PHP读取PDF内容配合Xpdf的使用
一.下载首先,我们先把资料下下来先。如果不需要转中文的话,只需要下载它就可以:xpdfbinlinux3.03.tar,如果需要转中文,那你就还需要它了:xpdfchinesesimplified.tar二.安装现在,下载完毕了吧,我们可以进行安装了。\root@localhost(http
Wesley13 Wesley13
3年前
JAVA 基础问题
记录JAVA一些容易疏忽基础问题基础Q基本变量声明注意eg1: floatf3.4,错误。双精度转单精度,下转型,需强转。floatf(float)3.4;或者写成floatf3.4F;eg2:  shorts11;s1s11。错误,理由同上。shorts11
Stella981 Stella981
3年前
MongoRepository动态代理及jpa方法解析源码分析
publicinterfaceFzkRepositoryextendsMongoRepository<Fzk,String{FzkfindByName(Stringname);}@RestControllerpublicclassTestController{@Auto
Stella981 Stella981
3年前
C#连接操作mysql实例
\转\C连接操作mysql实例(https://www.oschina.net/action/GoToLink?urlhttp%3A%2F%2Fwww.cnblogs.com%2Ffreeliver54%2Farchive%2F2012%2F11%2F20%2F2778637.html)本文转自:http://hi.baidu.com/zh
Wesley13 Wesley13
3年前
Java单纯数组与对象实现学生管理系统1.0
​publicclassStudent{privateStringname;privateStringphoneNumber;publicStudent(){}publicStudent(Stringname,String